package com.example.home.Dao;

import com.example.home.Entities.Admin;
import com.example.home.Entities.Student;
import com.example.home.Entities.Teacher;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

import javax.persistence.criteria.CriteriaBuilder;
import java.util.List;


@Repository
public interface TeacherRepository extends CrudRepository<Teacher,Integer> {

    @Override
    List<Teacher> findAll();

}
